package com.zidongxiangxi.rabbit.producer.exception;

import com.zidongxiangxi.rabbit.core.exception.ReliableRabbitException;

/**
 * 不支持该操作
 *
 * @author chenxudong
 * @date 2020/11/07
 */
public class NotSupportOperationException extends ReliableRabbitException {
	private static final String ERROR_MESSAGE = "可靠MQ暂时不支持%s方法";

	public NotSupportOperationException(String methodName) {
		super(String.format(ERROR_MESSAGE, methodName));
	}
}
